package com.yangxk.kadmin.web.module.system.form;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * 登录表单
 * @author yangxk
 * @date 2018/9/13 13:41
 */
@Getter
@Setter
public class LoginForm {

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;
}
